package com.teacherprofile.manage.mapper;

import java.util.List;

import com.teacherprofile.common.domain.EducationalBackground;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 用户Mapper接口
 *
 * @author qvtu
 * @date 2025-05-17
 */
public interface EducationalBackgroundMapper extends BaseMapper<EducationalBackground> {
    /**
     * 查询用户
     *
     * @param id 用户主键
     * @return 用户
     */
    public EducationalBackground selectEducationalBackgroundById(Long id);

    /**
     * 查询用户列表
     *
     * @param educationalBackground 用户
     * @return 用户集合
     */
    public List<EducationalBackground> selectEducationalBackgroundList(EducationalBackground educationalBackground);

    /**
     * 新增用户
     *
     * @param educationalBackground 用户
     * @return 结果
     */
    public int insertEducationalBackground(EducationalBackground educationalBackground);

    /**
     * 修改用户
     *
     * @param educationalBackground 用户
     * @return 结果
     */
    public int updateEducationalBackground(EducationalBackground educationalBackground);

    /**
     * 删除用户
     *
     * @param id 用户主键
     * @return 结果
     */
    public int deleteEducationalBackgroundById(Long id);

    /**
     * 批量删除用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEducationalBackgroundByIds(Long[] ids);
}
